echo "start install ibus ..."
echo "unzip TAR & RPM..."

tar -zxvf libreoffice_ibus_lib_deps_rpm.tar.gz

mkdir tmprpm

cp libreoffice_ibus_lib_deps_rpm/*.rpm tmprpm/

cd tmprpm/

yum -y localinstall *.rpm

echo "delete tmp folder"

cd ..

rm -rf libreoffice_ibus_lib_deps_rpm

rm -rf tmprpm

echo "install ibus  successfully!"
